from extensions.routers import *
from apps.cbsp.views import *

router = BaseRouter()
router.register('cbsp_bi_records', Cbsp_Bi_RecordsViewSet, 'cbsp_bi_records')
router.register('cbsp_bi_records_personnels', Cbsp_Bi_Records_PersonnelViewSet, 'cbsp_bi_records_personnels')
router.register('cbsp_bi_records_contacts', Cbsp_Bi_Records_ContactViewSet, 'cbsp_bi_records_contacts')
router.register('cbsp_bi_records_commercial_insurances', Cbsp_Bi_Records_Commercial_InsuranceViewSet, 'cbsp_bi_records_commercial_insurances')
router.register('cbsp_bi_records_party_groups', Cbsp_Bi_Records_Party_GroupViewSet, 'cbsp_bi_records_party_groups')
router.register('cbsp_bi_records_skills', Cbsp_Bi_Records_SkillViewSet, 'cbsp_bi_records_skills')
router.register('cbsp_bi_records_personal_finances', Cbsp_Bi_Records_Personal_FinanceViewSet, 'cbsp_bi_records_personal_finances')
router.register('cbsp_bi_records_educations', Cbsp_Bi_Records_EducationViewSet, 'cbsp_bi_records_educations')
router.register('cbsp_bi_records_works', Cbsp_Bi_Records_WorkViewSet, 'cbsp_bi_records_works')
router.register('cbsp_bi_records_certificates', Cbsp_Bi_Records_CertificateViewSet, 'cbsp_bi_records_certificates')
urlpatterns = router.urls
